package GEMonitor.em;

/**
 * @author yangke3
 * @date Created at 2019-10-12
 */
public enum MsgType {

    /**
     * 登录信息
     */
    ONLINE("Z0", "登录信息"),

    REPORT("S1","上报信息"),

    REPORT_ENCRYPTED("K1","上报信息"),

    MSG("S0", "下发信息"),

    MSG_CONFIG("SN","下发单位配置信息"),

    RELAY("SR","下发单位配置信息"),

    MSG_ENCRYPTED("K0", "下发信息"),

    REPLY("S8","消息回复"),

    REPLY_ENCRYPTED("K8","消息回复"),

    HEART_BEAT("D0","心跳帧"),

    DEW_POINT_A("L0","露点A"),

    DEW_POINT_B("L1","露点B"),

    SOUND("Z3","声音"),

    MSG_CONFIG_REPLY("Sn","下发单位配置信息回复"),

    RELAY_REPLY("Sr","下发单位配置信息回复"),

    ;
    private String value;

    private String desc;

    MsgType(String value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    public String getValue() {
        return value;
    }

    public String getDesc() {
        return desc;
    }
}
